﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConsumptionRecords.aspx.cs" Inherits="WeChat.UserInfo.ConsumptionRecords" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>消费记录</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="../bootstrap-3.3.5-dist/js/jquery-1.11.3.min.js" type="text/javascript"></script>
    <link href="../bootstrap-3.3.5-dist/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <script src="../bootstrap-3.3.5-dist/js/bootstrap.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
     
<div id="panel1" runat="server" class="panel panel-default">
   <div class="panel-heading">
      <h3 class="panel-title text-center">我的消费记录</h3>
   </div>
   
   <div class="panel-body">
   <div class="form-group">
   <div class="col-xs-2"></div>
        <div  class="btn-group col-xs-2">
           <button type="button" style="width:auto; color:#fff; background-color:#427DBF;border: 1px solid #427DBF" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
              选择查询时间 <span class="caret"></span>
           </button>
              <ul class="dropdown-menu" role="menu" style="text-align:center">
              <li><a id="A1" href="#" runat="server" onserverclick="days">今日消费记录</a></li>
              <li><a id="A2" href="#" runat="server" onserverclick="days">7天内消费记录</a></li>
              <li><a id="A3" href="#" runat="server" onserverclick="days">30天内消费记录</a></li>
              <li><a id="A4" href="#" runat="server" onserverclick="days">一年内消费记录</a></li>
           </ul>
        </div>
        <div class="col-xs-4"></div>
	<a href='../index.html'  style="width:auto;  position: absolute;  left:75%; top:59px; align-content:center; color:#fff; background-color:#427DBF;border: 1px solid #427DBF;" class="btn btn-default dropdown-toggle" 
        <%--data-toggle="dropdown"--%> <%--onclick='javascript :history.back(-1);'--%>>返回首页</a>

   </div>
  </div>
   <div style="color:#337AB7">
    <table id="tb1" runat="server" style="width:100%" visible="false">
        <tr>
            <td style="width:60%"><asp:Label ID="dateslive" runat="server"></asp:Label></td>
            <td><span>消费总额:</span></td>
            <td><asp:Label ID="costs" runat="server" ForeColor="Red"></asp:Label></td>
            <%--<td style="color:Black">元</td>--%>
        </tr>
    </table>
   </div>
     <asp:Repeater id="cdcatalog" runat="server">
        <HeaderTemplate>
        <table class="table table-striped">
        <caption></caption>
        <tr>
        <th>时间</th>
        <th>消费金额</th>
        <th>消费方式</th>
        </tr>
        </HeaderTemplate>

        <ItemTemplate>
        <tr>
        <td><%# Eval("xfsj")%></td>
        <td><%# Eval("xfje")%></td>
        <td><%# Eval("xffs")%></td>
        </tr>
        </ItemTemplate>

        <FooterTemplate>
        </table>
        </FooterTemplate>
     </asp:Repeater>
</div>
<div id="panel2" runat="server" style="text-align:center; color:#337AB7; padding-top:50px" visible="false">您还未绑定账号，无法查看信息哦~</div>

</form>
</body>
</html>